// Here is a list of the toolbar
// Detail list see https://www.tinymce.com/docs/advanced/editor-control-identifiers/#toolbarcontrols
/**
 * newdocument（新文档）
   bold（加粗）
   italic（斜体）
   underline（下划线）
   strikethrough（删除线）
   alignleft（左对齐）
   aligncenter（居中对齐）
   alignright（右对齐）
   alignjustify（两端对齐）
   styleselect（格式设置）
   formatselect（段落格式）
   fontselect（字体选择）
   fontsizeselect（字号选择）
   cut（剪切）
   copy（复制）
   paste（粘贴）
   bullist（项目列表UL）
   numlist（编号列表OL）
   outdent（减少缩进）
   indent（增加缩进）
   blockquote（引用）
   undo（撤销）
   redo（重做/重复）
   removeformat（清除格式）
   subscript（下角标）
   superscript（上角标）
 * @type {string[]}
 */
const toolbar = [
  [
    'forecolor',
    'backcolor',
    'fontsizeselect',
    'bold',
    'italic',
    'underline',
    'strikethrough',
    'alignleft',
    'aligncenter',
    'alignright',
    'outdent',
    'indent'
  ].join(' '),
  ['undo',
    'redo',
    'subscript',
    'superscript',
    'hr',
    'bullist',
    'numlist',
    'link',
    'image',
    'preview',
    'insertdatetime',
    'media',
    'table',
    'emoticons'].join(' ')]
// const toolbar = ['fontsizeselect searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent  blockquote undo redo removeformat subscript superscript code codesample', 'hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen']

export default toolbar
/**
 aligncenter	core	Center aligns the current block or image.
 alignjustify	core	Full aligns the current block or image.
 alignleft	core	Left aligns the current block or image.
 alignnone	core	Removes the alignment of the current block or image.
 alignright	core	Right aligns the current block or image.
 blockquote	core	Applies block quote format to the current block level element.
 backcolor	core	Applies background color to selection.
 bold	core	Applies the bold format to the current selection.
 copy	core	Copies the current selection into clipboard.
 cut	core	Cuts the current selection into clipboard.
 fontselect	core	Dropdown list with font families to apply to selection.
 fontsizeselect	core	Dropdown list with font sizes to apply to selection.
 forecolor	core	Applies foreground/text color to selection.
 formatselect	core	Dropdown list with block formats to apply to selection.
 h1	core	Changes current line to the “Heading 1” style.
 h2	core	Changes current line to the “Heading 2” style.
 h3	core	Changes current line to the “Heading 3” style.
 h4	core	Changes current line to the “Heading 4” style.
 h5	core	Changes current line to the “Heading 5” style.
 h6	core	Changes current line to the “Heading 6” style.
 indent	core	Indents the current list item or block element.
 italic	core	Applies the italic format to the current selection.
 newdocument	core	Creates a new document.
 outdent	core	Outdents the current list item or block element.
 paste	core	Pastes the current clipboard into the editor.
 redo	core	To redo the last undone operation.
 remove	core	Removes (deletes) the selected content or the content before the cursor position.
 removeformat	core	Removes the formatting from the current selection.
 selectall	core	Selects all content in the editor.
 strikethrough	core	Applies strike though format to the current selection.
 styleselect	core	Dropdown list with styles to apply to selection.
 subscript	core	Applies subscript format to the current selection.
 superscript	core	Applies superscript format to the current selection.
 underline	core	Applies the underline format to the current selection.
 undo	core	To undo the last operation.
 visualaid	core	Toggles the visual aids for invisible elements.
 a11ycheck	a11ychecker	Opens the accessibility checker dialog.
 anchor	anchor	Creates/Edits anchor elements.
 casechange	casechange	Changes the case of text in a block selection to uppercase, lowercase, or title case.
 charmap	charmap	Inserts custom characters into the editor.
 checklist	checklist	Creates a checklist.
 code	code	Opens the code dialog
 codesample	codesample	Inserts code snippets with syntax highlighting.
 addcomment	comments	Adds a comment at the cursor location or for the selected text.
 showcomments	comments	Shows/hides comments present in the editor.
 ltr	directionality	Sets the directionality of contents to ltr.
 rtl	directionality	Sets the directionality of contents to rtl.
 emoticons	emoticons	Opens the emoticons dialog.
 formatpainter	formatpainter	Enables and disables format painting.
 fullpage	fullpage	Documents properties for the full page.
 fullscreen	fullscreen	Toggles fullscreen mode
 help	help	Opens the help dialog
 hr	hr	Inserts a horizontal rule into the editor.
 image	image	Creates/Edits images within the editor.
 editimage	imagetools	Edits the current image in the image dialog.
 fliph	imagetools	Flips the current image horizontally.
 flipv	imagetools	Flips the current image vertically.
 imageoptions	imagetools	Opens the image options dialog.
 rotateleft	imagetools	Rotates the current image counterclockwise.
 rotateright	imagetools	Rotates the current image clockwise.
 insertdatetime	insertdatetime	Inserts the current date/time
 link	link	Creates/Edits links within the editor.
 openlink	link	Opens the selected link in a new tab.
 unlink	link	Removes links from the current selection.
 bullist	lists	Formats the current selection as a bullet list.
 numlist	lists	Formats the current selection as a numbered list.
 media	media	Creates/Edits embedded media elements.
 nonbreaking	nonbreaking	Inserts a nonbreaking space into the editor.
 pagebreak	pagebreak	Inserts a pagebreak into the editor.
 pageembed	pageembed	Opens the insert or edit iframe dialog.
 pastetext	paste	Toggles plain text pasting mode on/off.
 permanentpen	permanentpen	Enables and disables Permanent Pen formatting.
 preview	preview	Previews the current editor contents.
 print	print	Prints the current editor contents.
 quickimage	quickbars	Inserts an image from the local machine.
 quicklink	quickbars	Inserts a link in a quicker way.
 quicktable	quickbars	Inserts a table 2x2.
 restoredraft	restoredraft	Restores to the latest auto saved draft.
 cancel	save	Cancels/Resets the editor contents to it’s initial state.
 save	save	Saves the current editor contents to a form or ajax call.
 searchreplace	searchreplace	Searches and/or Replaces contents within the editor.
 spellchecker	spellchecker	Spellchecks the current editor contents.
 table	table	Creates/Edits table elements.
 tablecellprops	table	Opens the Cell properties dialog.
 tablecopyrow	table	Copies the current row to the clipboard. > Note: This feature is only available for TinyMCE 5.4 and later.
 tablecutrow	table	Cuts the current row to the clipboard. > Note: This feature is only available for TinyMCE 5.4 and later.
 tabledelete	table	Deletes table.
 tabledeletecol	table	Deletes the selected column.
 tabledeleterow	table	Deletes the current row row.
 tableinsertdialog	table	Opens the table properties dialog for creating a new table.
 tableinsertcolafter	table	Inserts column after the current one.
 tableinsertcolbefore	table	Inserts a column before the current one.
 tableinsertrowafter	table	Inserts a new row after the current one.
 tableinsertrowbefore	table	Inserts a new row before the current one.
 tablemergecells	table	Merges the selected cells.
 tablepasterowafter	table	Pastes the row in the clipboard after the current row. > Note: This feature is only available for TinyMCE 5.4 and later.
 tablepasterowbefore	table	Pastes the row in the clipboard before the current row. > Note: This feature is only available for TinyMCE 5.4 and later.
 tableprops	table	Opens the table properties dialog.
 tablerowprops	table	Opens the Row properties dialog.
 tablesplitcells	table	Splits the current merged cell.
 template	template	Inserts templates into the editor.
 language	tinymcespellchecker	Sets the spellchecker language for the current selection.
 spellcheckdialog	tinymcespellchecker	Opens the spelling checker dialog if spellchecker_dialog is false, otherwise this button is disabled.
 spellchecker	tinymcespellchecker	Opens the spelling checker dialog if spellchecker_dialog is true, otherwise this button enables or disables spell checking as-you-type.
 toc	toc	Inserts a Table of Contents into the editor.
 tocupdate	toc	Updates the Table of Contents block element.
 insertfile	tinydrive	Opens the Tiny Drive file selector.
 visualblocks	visualblocks	Toggles the visibility of block elements.
 visualchars	visualchars	Toggles the visibility of non breaking character elements.
 wordcount	wordcount	Opens a word count dialog showing word and character counts.
 */
